package com.dl.mood.model;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "mood_items")
public class MoodItem {
    @PrimaryKey(autoGenerate = true)
    private int id;
    private int resId;//心情图片
    private String title;//心情TAG
    private String content;//具体心情和念头

    private String sysTime;



    public MoodItem(int resId, String title, String content,String sysTime) {
        this.resId = resId;
        this.title = title;
        this.content = content;
        this.sysTime = sysTime;
    }

    public String getSysTime() {
        return sysTime;
    }

    public void setSysTime(String sysTime) {
        this.sysTime = sysTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "MoodItem{" +
                "resId=" + resId +
                ", content='" + content + '\'' +
                '}';
    }
}
